
class GetNotificationBean {
  String description;
  String notificationStr;

  static GetNotificationBean fromMap(Map<String, dynamic> map) {
    GetNotificationBean getNotificationBean = new GetNotificationBean();
    getNotificationBean.description = map['description'];
    getNotificationBean.notificationStr = map['notificationStr'];

    return getNotificationBean;
  }

  static List<GetNotificationBean> fromMapList(dynamic mapList) {
    List<GetNotificationBean> list = List.filled(mapList.length, null);
    for (int i = 0; i < mapList.length; i++) {
      list[i] = fromMap(mapList[i]);
    }
    return list;
  }
}
